﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace StoreManagementSystem.DomainObjects
{
    public class StoreUser : Entity
    {
        private string m_id;
        private string m_FirstName;
        private string m_LastName;
        private string m_Password;
        private string m_UserName;
        private string m_Email;

        public string id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        public string FirstName
        {
            get { return m_FirstName; }
            set { m_FirstName = value; }
        }

        public string LastName
        {
            get { return m_LastName; }
            set { m_LastName = value; }
        }

        public string Password
        {
            get { return m_Password; }
            set { m_Password = value; }
        }

        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; }
        }

        public string Email
        {
            get { return m_Email; }
            set { m_Email = value; }
        }

        public StoreUser()
        {
        }

        public StoreUser(string id, string firstname, string lastname, string password, string username, string email)
        {
            this.id = id;
            this.FirstName = firstname;
            this.LastName = lastname;
            this.Password = password;
            this.UserName = username;
            this.Email = email;
        }
    }
}